<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8"/>
        <title>更新用户</title>
    </head>
    <body>
        <form th:action="@{/users/editUser}" method="post">
            <input type="hidden" name="id" th:field="${user.id}" />
            用户姓名：<input type="text" name="name" th:field="${user.name}" /><br />
            用户年龄：<input type="text" name="age" th:field="${user.age}" /><br />
            <input type="submit" name="确定" /><br />
        </form>
    </body>
</html>